package com.wind.taobao.api.trade.taobaoke.rest
{
	import com.wind.taobao.api.trade.taobaoke.convert.TaobaokeReportMemberConvert;
	import com.wind.taobao.core.webservice.TaobaoResponse;

	import mx.collections.ArrayCollection;

	/**
	 * taobao.taobaoke.report.get Response
	 * @author fxy
	 *
	 */
	public class TaobaokeReportGetResponse extends TaobaoResponse
	{
		public var members:ArrayCollection;

		public function TaobaokeReportGetResponse(response:TaobaoResponse=null)
		{
			super(response);
			initMembers();
		}

		private function initMembers():void
		{
			if (body != null && this.isSuccess)
			{
				if (body["rsp"].hasOwnProperty("taobaokeReport"))
					members=TaobaokeReportMemberConvert.convertTaobaokeReportMembers(body["rsp"]["taobaokeReport"]);
			}
		}

	}
}